﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class MailPanel : MonoBehaviour
{
    public Button m_btnClose;
    // Start is called before the first frame update
    void Start()
    {
        m_btnClose.onClick.AddListener(() =>
        {
            AudioManager.Instance.OnPlayClick();
            this.gameObject.SetActive(false);
        });
    }

    // Update is called once per frame
    void Update()
    {
        
    }
}
